package com.stms.service;

import com.stms.pojo.Depot;
import org.springframework.data.domain.Page;

import java.util.List;

public interface DepotService {
    public boolean addDepot(Depot depot);

    public boolean editDepot(Depot depot);

    public void deleteBatch(String depotIds);

    public Page<Depot> fuzzyQuery(Integer pageNum, Integer pageSize,String direction,Depot depot);

    public Page<Depot> findByPge(Integer pageNum,Integer pageSize);
}
